<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>JSP - Hello World</title>
</head>
<body>
<form action="/upload/upload1" enctype="multipart/form-data" method="post">
    <%--input标签的name属性值 👉 请求参数名 👉 Handler方法的形参名--%>
    <input type="file" name="file"><br>
    <input type="submit">
</form>
<hr>
<form action="file/array/upload" enctype="multipart/form-data" method="post">
    <%--input标签的name属性值 👉 请求参数名 👉 Handler方法的形参名--%>
    <input type="file" multiple name="myfiles"><br>
    <input type="submit">
</form>
</body>
</html>